package com.efounder.common.floatwindow;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * 悬浮框触摸类型
 *
 * @author YQS
 */
public class MoveType {



    static final int fixed = 0;
    /**
     * 不可拖动
     */
    public static final int inactive = 1;
    public static final int active = 2;
    /**
     * 可拖动，释放后自动贴边 （默认）
     */
    public static final int slide = 3;
    /**
     * 可拖动，释放后自动回到原位置
     */
    public static final int back = 4;

    @IntDef({fixed, inactive, active, slide, back})
    @Retention(RetentionPolicy.SOURCE)
    @interface MOVE_TYPE {
    }
}